package cn.mianxZY.java;

import cn.mianxZY.java.Teacher;
import cn.mianxZY.java.netTeacher;

public class TeacherText {
    public static void main(String[] args) {
        Teacher javaTeacher =new javaTeacher("吴浩",
                '男',25,1,"合肥科海");
        javaTeacher.teachShow();
        javaTeacher.teaches();

        Teacher netTeahcer =new netTeacher("张鹏飞",
                '男',26,1,"天上人间");
        netTeahcer.teachShow();
        netTeahcer.teaches();
    }
}
